//
//  UILabel+Extension.swift
//  weiBo
//
//  Created by mac on 15/12/5.
//  Copyright © 2015年 mac. All rights reserved.
//

import UIKit

extension UILabel {
    
    convenience init(title: String, fontSize: CGFloat = 14, color: UIColor = UIColor.darkGrayColor()) {
        
        self.init()
        
        text = title
        textColor = color
        font = UIFont.systemFontOfSize(fontSize)
        
        numberOfLines = 0
        textAlignment = NSTextAlignment.Center
    }
}
